package com.boss.soft.lb;

import org.springframework.cloud.client.ServiceInstance;
import java.util.List;

/**
 * @author ljx
 * @date 2020/8/6 16:21
 */
public interface MyLoadBalancer {
    /**
     * fetch data by rule id
     *
     * @param instances instances
     * @return Result<ServiceInstance>
     */
    ServiceInstance instances(List<ServiceInstance> instances);
}
